<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    <class name="cn.firstsoft.modules.workflow.domain.WorkflowDataSource" table="WORKFLOW_DATA_SOURCE">
        <id name="id" type="integer">
            <column name="id" />
            <generator class="native" >
				<param name="sequence">WORKFLOW_DATA_SOURCE_ID_SEQ</param>
            </generator>
        </id>


        <property name="name" type="string">
            <column name="name" length="100" />
        </property>

        <property name="jdbcDriverClass" type="string">
            <column name="jdbc_class" length="200" />
        </property>

        <property name="jdbcURL" type="string">
            <column name="jdbc_url" length="200" />
        </property>

        <property name="jdbcUserName" type="string">
            <column name="jdbc_user_name" length="60" />
        </property>

        <property name="jdbcPassword" type="string">
            <column name="jdbc_password" length="500" />
        </property>

        <property name="createId" type="integer">
            <column name="create_id" length="200" />
        </property>

        <property name="updateId" type="integer">
            <column name="update_id" length="200" />
        </property>

        <property name="descn" type="string">
            <column name="descn" length="200" />
        </property>

        <property name="createTime" type="timestamp">
            <column name="create_time" />
        </property>

        <property name="updateTime" type="timestamp">
            <column name="update_time" />
        </property>

        <property name="status" type="integer">
            <column name="status" />
        </property>

    </class>
</hibernate-mapping>
